#pragma once

#include "CParticleManager.h"

class CParticle;

class CEmitter
{
	vector<CParticle*> m_vecParticles;
	float m_fPosX;
	float m_fPosY;
	float m_fVelX;
	float m_fVelY;
	int	  m_nImageID;
	RECT  m_rDrawRect;
	unsigned char m_ucBlendModes;
	int m_nLife;
	int m_nParticleCount;

public:

	CEmitter();
	~CEmitter();

	void Init();
	void Shutdown();
	void Render();
	void AddParticle(CParticle* pParticle);
	void RemoveParticle(CParticle* pParticle);

}